﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Proto_Fast.aspx.cs" Inherits="NCC_SOP.Proto_Fast" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2 style="color:red">Fast Stats</h2>
  
    <fieldset>
        <div>
            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" CssClass="example-panel"
                EnableAJAX="true">

                <telerik:RadListBox ID="RadListBox1" CssClass="RadListBox1" runat="server" Width="256px" Height="320" Skin="Black"
                    AutoPostBack="true" DataSourceID="SqlDataSource1" DataKeyField="tableID" DataValueField="tableID"
                    DataTextField="rptName">
                    <ItemTemplate>                       
                        <span class="rptName">
                            <%# Container.Text %>
                        </span>
                    </ItemTemplate>
                </telerik:RadListBox>

                <telerik:RadListBox runat="server" ID="RadListBox2" CssClass="RadListBox2" Width="270px" Height="320px"
                    Skin="Black" AutoPostBack="true" DataSourceID="DataSourceCancerSite" DataKeyField="ID"
                    DataValueField="ID" DataTextField="cancerSite" Visible="false">
                    <ItemTemplate>
                        <span class="cancerSite">                            
                            <span class="statsType">
                                <%# Container.Text %>
                            </span></span>
                    </ItemTemplate>
                </telerik:RadListBox>

                <telerik:RadListBox runat="server" ID="RadListBox3" CssClass="RadListBox3" Width="256px" Height="320px"
                    Skin="Black" Visible="false">
                </telerik:RadListBox>

            </telerik:RadAjaxPanel>
        </div>
    </fieldset>


		     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:localSQLString %>"
            ProviderName="System.Data.SqlClient" 
            SelectCommand="select DISTINCT tableID as rptID, [fileName], tableName as rptName, tableDescription AS rptDescription, cancerSite,  statsType, isRPT from metaDisplay_fastFact"
            ></asp:SqlDataSource>


  <asp:SqlDataSource ID="DataSourceCancerSite"  runat="server" ConnectionString="<%$ ConnectionStrings:localSQLString %>"
            ProviderName="System.Data.SqlClient" 
            SelectCommand="select distinct cancerSite from metaDisplay_fastFact"

            ></asp:SqlDataSource>

  <asp:SqlDataSource ID="DataSourceStatsType"  runat="server" ConnectionString="<%$ ConnectionStrings:localSQLString %>"
            ProviderName="System.Data.SqlClient" 
            SelectCommand="select distinct statsType from metaDisplay_fastFact "
            ></asp:SqlDataSource>
</asp:Content>
